home *** CD-ROM | disk | FTP | other *** search
/ CICA 1993 April / CICA MS Windows - April 1993.iso / unzipped / programr / textview / demo / makefile. < prev    next >
Makefile  |  1991-06-13  |  1KB  |  51 lines

  1. ##############################################################################
  2. #
  3. # Makefile for TextView Demonstration
  4. # -----------------------------------
  5. #
  6. # This makefile builds the program that demonstrates the TextView DLL. It is
  7. # written to be used with a UNIX-compatible make such as 'ndmake' rather than
  8. # with Microsoft nmake
  9. #
  10. ##############################################################################
  11.  
  12. OFILES    =    copy.obj    \
  13.         main.obj    \
  14.         trace.obj    \
  15.         utils.obj
  16.  
  17. HFILES    =    defines.h    \
  18.         dialog.h    \
  19.         global.h    \
  20.         menu.h        \
  21.         procs.h        \
  22.         stdhead.h    \
  23.         c:\windev\include\textview.h
  24.  
  25. CFLAGS        =    /nologo        \
  26.             /Gsw        \
  27.             /Zp        \
  28.             /W3
  29.  
  30. MODEL        =    S
  31.  
  32. LFLAGS        =    /nologo
  33.  
  34. IMPLIBS        =    c:\windev\lib\textview.lib
  35.  
  36. demo.exe    :    $(OFILES) demo.res demo.def $(IMPLIBS)
  37.     link $(LFLAGS) $(OFILES),demo.exe,nul,$(MODEL)libcew libw $(IMPLIBS),demo.def
  38.     rc demo.res demo.exe
  39.  
  40. demo.res    :    demo.rc demo.ico
  41.     rc -r demo.rc
  42.  
  43. copy.obj    :    copy.c        $(HFILES)
  44.  
  45. main.obj    :    main.c        $(HFILES) ident.h
  46.  
  47. trace.obj    :    trace.c        $(HFILES)
  48.  
  49. utils.obj    :    utils.c        $(HFILES)
  50.  
  51.